/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-05-25
 * Time: 11:45
 */

public class Decorator extends Basic{

    //聚合
    private Basic obj;

    public Decorator(Basic obj){
        this.obj = obj;
    }

    @Override
    public String getDes() {
        return super.des + " && " + obj.getDes();
    }
}
